Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix video playback in Safari #577

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

JammingBen
Copy link
Contributor

Opening a video from the file list which is not the first one will trigger the init() method twice: First time because of swiper:slideChangeTransitionEnd, second time because of swiper:init. This causes issues in Safari, therefore we need to make sure swiper:init does the first call to init().

Steps to reproduce

Using Safari browser:

  1. Upload 2 videos
  2. Refresh page
  3. Open the second video -> video should play after clicking play

@JammingBen JammingBen added the bug Something isn't working label Dec 6, 2021
@JammingBen JammingBen self-assigned this Dec 6, 2021
@madsi1m
Copy link

madsi1m commented Apr 21, 2022

Can we please see this merged and released? @phil-davis ??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants